<?php

/**
 * pagina components.
 *
 * @package    Terapia Vital
 * @subpackage pagina
 * @author     Foxsis
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class paginaComponents extends sfComponentsFoxsis
{
	public function executeLinks()
	{
		$tipo = $this->tipo;

		$this->result = Doctrine_Query::create()
						->from('Pagina')
						->where('st_pagina = ?', 'S')
						->addWhere('tp_pagina = ?', $tipo)
						->execute();
	}
}